<?php if($sub == 'invite'){if($user_sub == 'message'){?>
<ul>
	<li <?php if($user_tab == 'message_sjx'){?>class="cut"<?php }?> ><a href="/message/received.html">收件箱</a></li>
	<li <?php if($user_tab == 'message_yfs'){?>class="cut"<?php }?>  ><a href="/message/sendbox.html">已发送</a></li>
	<li <?php if($user_tab == 'message_send'){?>class="cut"<?php }?> ><a href="/message/sent.html">发信息</a></li>
</ul>
<?php }elseif($user_sub == 'leaveword'){?>
<ul>
	<li <?php if($user_tab == 'leaveword_sjx'){?>class="cut"<?php }?> ><a href="/leaveword/release/index.html">发布留言</a></li>
	<li <?php if($user_tab == 'leaveword_list'){?>class="cut"<?php }?>  ><a href="/leaveword/leaveword_list/index.html">留言列表</a></li>
</ul>
<?php } ?>
<?php }elseif($sub == 'account'){?>
<ul>
	<li <?php if($user_tab == 'account_info'){?>class="cut"<?php }?>><a href="/account/info.html">账户详情</a></li>
	<li <?php if($user_tab == 'account_bank'){?>class="cut"<?php }?>><a href="/account/bank.html">银行账号</a></li>
	<li <?php if($user_tab == 'account_recharge'){?>class="cut"<?php }?>><a href="/account/recharge.html">账户充值</a></li>
	<li <?php if($user_tab == 'account_recharge_log'){?>class="cut"<?php }?>><a href="/account/recharge_log.html">充值记录</a></li>
	<li <?php if($user_tab == 'account_cash'){?>class="cut"<?php }?>><a href="/account/cash.html">账户提现</a></li>
	<li <?php if($user_tab == 'account_cashed'){?>class="cut"<?php }?>><a href="/account/cashed.html">提现记录</a></li>
	<li <?php if($user_tab == 'account_detail'){?>class="cut"<?php }?>><a href="/account/details.html">资金明细</a></li>
</ul>
<?php }?>
<?php if($sub == 'tender'){if($user_sub == 'success'){?>
<ul>
	<li <?php if($user_tab == 'tender_success'){?>class="cut"<?php }?> ><a href="/userborrow/success.html">已投资的借款</a></li>
	<li <?php if($user_tab == 'tender_now'){?>class="cut"<?php }?>><a href="/userborrow/now.html">正在投标的借款</a></li>
	<li <?php if($user_tab == 'tender_coll'){?>class="cut"<?php }?>><a href="/userborrow/coll.html">未收款明细</a></li>
	<li <?php if($user_tab == 'tender_ycoll'){?>class="cut"<?php }?>><a href="/userborrow/ycoll.html">已收款明细</a></li>
</ul>
<?php }elseif($user_sub == 'transferlog'){?>	
<ul>
	<li <?php if($user_tab == 'mytran'){?>class="cut"<?php }?>><a href="/userborrow/transferlog.html">我购买的债权</a></li>
	<li <?php if($user_tab == 'mycredit'){?>class="cut"<?php }?>><a href="/userborrow/mycreditor.html">我发布的债权</a></li>
	<li <?php if($user_tab == 'transfer'){?>class="cut"<?php }?>><a href="/userborrow/transfer.html">可转让的债权</a></li>
	<li <?php if($user_tab == 'ctlog'){?>class="cut"<?php }?>><a href="/userborrow/ctlog.html">债权待收明细</a></li>
</ul>
<?php }else{?>
<ul>
	<li <?php if($user_tab == 'borrowauto_alist'){?>class="cut"<?php }?>  style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;" ><a href="/borrowauto/alist.html">自动投标列表</a></li>
	<?php if($user_tab == 'borrowauto_edit'){?>
	<li <?php if($user_tab == 'borrowauto_edit'){?>class="cut"<?php }?>  style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;"><a href="/borrowauto/edit_view/<?php echo $borrow_auto_obj['id'];?>.html">编辑自动投标</a></li>
	<?php }else{?>
	<li <?php if($user_tab == 'borrowauto_add'){?>class="cut"<?php }?> style=" border-right: 1px solid #d1d1d1;float: left;padding:0 5px;" ><a href="/borrowauto/add_view.html">添加自动投标</a></li>
	<?php }?>
</ul>
<?php }}?>

<?php if($sub == 'borrow'){if($user_sub == 'publish'){?>
<ul>
	<li <?php if($user_tab == 'borrow_publish'){?>class="cut"<?php }?> ><a href="/userborrow/publish.html">正在招标的借款</a></li>
	<li <?php if($user_tab == 'borrow_unpublish'){?>class="cut"<?php }?>  ><a href="/userborrow/unpublish.html">尚未发布的借款</a></li>
	<li <?php if($user_tab == 'borrow_repayment'){?>class="cut"<?php }?> ><a href="/userborrow/repayment.html">正在还款的借款</a></li>
	<li <?php if($user_tab == 'borrow_over'){?>class="cut"<?php }?> ><a href="/userborrow/over.html">已还完的借款</a></li>
</ul>
<?php }elseif($user_sub == 'credentials'){?>
<ul>
	<li <?php if($user_tab == 'borrow_credentials'){?>class="cut"<?php }?> ><a href="/credentials/all/index.html">证明材料</a></li>
	<li <?php if($user_tab == 'borrow_upload'){?>class="cut"<?php }?>  ><a href="/credentials/upload/index.html">资料上传</a></li>
</ul>
<?php }} ?>

<?php if($sub == 'user'){	if($user_sub == 'safe' || $user_sub == 'privacy'){?>
<ul>
	<li <?php if($user_tab == 'user_realname'){?>class="cut"<?php }?>><a href="/user/realname.html">实名认证</a></li>
	<li <?php if($user_tab == 'user_email'){?>class="cut"<?php }?>><a href="/user/email.html">邮箱认证</a></li>
	<li <?php if($user_tab == 'user_phone'){?>class="cut"<?php }?>><a href="/user/phone.html">手机认证</a></li>
	<li <?php if($user_tab == 'user_vip'){?>class="cut"<?php }?>><a href="/user/vip.html">VIP认证</a></li>
	<li <?php if($user_tab == 'user_photo'){?>class="cut"<?php }?>><a href="/user/photo.html">头像信息</a></li>
	<li <?php if($user_tab == 'user_privacy'){?>class="cut"<?php }?>><a href="/user/privacy.html">隐私设置</a></li>
</ul>
<?php }else if($user_sub == 'pwd'){?>
<ul>
	<li <?php if($user_tab == 'user_pwd'){?>class="cut"<?php }?>><a href="/user/pwd.html">登录密码</a></li>
	<li <?php if($user_tab == 'user_paypwd'){?>class="cut"<?php }?>><a href="/user/paypwd.html">交易密码</a></li>
</ul>
<?php }else{?>
<ul class="up">
	<li <?php if($user_tab == 'userinfo_peason'){?>class="cut"<?php }?>><a href="/user/info/index.html">个人基本信息</a></li>
	<li <?php if($user_tab == 'userinfo_contact'){?>class="cut"<?php }?>><a href="/user/info/contact.html">个人详细信息</a></li>
	<li <?php if($user_tab == 'userinfo_company'){?>class="cut"<?php }?>><a href="/user/info/company.html">工作认证信息</a></li>
	<li <?php if($user_tab == 'userinfo_qiye'){?>class="cut"<?php }?>><a href="/user/info/qiye.html">企业认证信息</a></li>
</ul>
<?php }}?>